﻿<%@ page language="java" import="java.util.*" pageEncoding="utf-8" isELIgnored="false"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="s" uri="/struts-tags"%>

<html>
<head>
<title>项目管理列表</title>
<script type="text/javascript" src="<c:url value="/js/jquery-1.4.2.min.js"/>"></script>
<script type="text/javascript" src="<c:url value="/js/main.js"/>"></script>
</head>
<body style="text-align: center">
    <form name="fom" id="fom" method="post" action="project_query.action">
        <span id="message" style="display: none"><s:property value="message" escape="false" /> </span>
        <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
                <td colspan="2"><span style="margin-right: 100px; float: right;"><a class=style2 style="text-decoration: none;" href="<c:url value="/logout.jsp"/>"><font color="red"
                            size="3">退出</font> </a> </span></td>
            </tr>
            <tr>
                <td width="880">查询方式： <select name="querytype">
                        <option <s:if test='querytype==1'>selected="selected"</s:if> value="1">项目名称</option>
                        <option <s:if test='querytype==2'>selected="selected"</s:if> value="2">项目代号</option>
                </select> <input name="condition" value="<s:property value='condition'/>" type="text" size="12" /> <input type="submit" class="right-button02" value="查 询" />
                </td>
                <td width="20"><input type="button" onclick="javascript:window.location.href='<c:url value="/project_toAdd.action"/>'" class="right-button02" value="添加"></td>
            </tr>
        </table>
        <table width="100%" border="0" cellpadding="4" cellspacing="1" bgcolor="#464646" class="newfont03">
            <thead>
                <tr class="CTitle">
                    <td height="22" colspan="10" align="center" style="font-size: 16px">项目信息管理列表</td>
                </tr>
            </thead>
            <tbody>
                <tr bgcolor="#EEEEEE" align="center">
                    <td width="2%"></td>
                    <td width="15%" align="center" height="30">项目名称</td>
                    <td width="10%" align="center" height="30">项目代号</td>
                    <td width="10%">承接部门</td>
                    <td width="13%">目标客户</td>
                    <td width="13%">项目开始</td>

                    <td width="13%">项目结束</td>
                </tr>
                <s:if test="(pageListData.dataList!=null)&&(!pageListData.dataList.isEmpty())">
                    <s:iterator value="#request.pageListData.dataList" id="u" status="st">
                        <tr id="changecolor" bgcolor="#FFFFFF" align="center">
                            <td><input name="checkBox" type="checkbox" value="<s:property value="#u.id"/>"></td>
                            <td><s:property value="#u.name" /></td>
                            <td><s:property value="#u.proj_code" /></td>
                            <td><s:property value="#u.proj_deptid" /></td>
                            <td><s:property value="#u.proj_target" /></td>
                            <td><s:property value="#u.start_date" /></td>
                            <td><s:property value="#u.finish_date" /></td>
                        </tr>

                    </s:iterator>
                </s:if>
            </tbody>
        </table>
        <s:property value="#request.pageListData.footer" escape="false" />
    </form>
</body>
</html>